package com.dingding.manager.modules.system.dto.user;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotNull;

/**
 * @ClassName: ReqAddUserDTO
 * @Description: 用户添加请求DTO
 * @author SUNZHICHENG
 * @date 2016年12月8日 上午11:50:31
 * @version V2.6.2
 */
@SuppressWarnings("serial")
public class ReqAddUserDTO implements Serializable {

	private Integer sysUserId; // 编号
	@NotNull
	private Integer companyId; // 公司id
	@NotNull
	private String loginName; // 登录名
	
	private String password; // 密码
	@NotNull
	private String trueName; // 真实姓名
	@NotNull
	private String phone; // 电话
	@NotNull
	private Integer userStatus; // 是否可登录 0： 否 1： 是
	private String remarks; // 备注
	@NotNull
	private List<Integer> roleIds = new ArrayList<Integer>(); // 角色id列表

	public Integer getSysUserId() {
		return sysUserId;
	}

	public void setSysUserId(Integer sysUserId) {
		this.sysUserId = sysUserId;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTrueName() {
		return trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(Integer userStatus) {
		this.userStatus = userStatus;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public List<Integer> getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(List<Integer> roleIds) {
		this.roleIds = roleIds;
	}

	@Override
	public String toString() {
		return "ReqAddUserDTO [sysUserId=" + sysUserId + ", companyId=" + companyId + ", loginName=" + loginName
				+ ", password=" + password + ", trueName=" + trueName + ", phone=" + phone + ", userStatus="
				+ userStatus + ", remarks=" + remarks + ", roleIds=" + roleIds + "]";
	}

	
}
